/**
 * @file main.c
 * @brief 应用主函数入口。
 * @author lijianpeng (bosco@pthyidh.com)
 * @date 2024-12-08 03:27:37
 * 
 * @copyright Copyright (c) 2024 by 深圳市鹏天微智能科技有限公司, All Rights Reserved.
 */

#include "pt3220.h"
#include "drvs.h"

#define TEST_IO     (BIT(PA16) | BIT(PA17))

int main(void)
{
    iwdt_disable();

    GPIO_DAT_CLR(TEST_IO);
    GPIO_DAT_SET(TEST_IO);
    GPIO_DIR_SET(TEST_IO);

    while (1)
    {
        GPIO_DIR_TOG(TEST_IO);
        bootDelayMs(500);
    }
}
